package com.labofjet.controller;

import com.labofjet.service.TestService;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import javax.servlet.http.HttpServletRequest;

@Controller
public class TestController {
    private static final Logger LOGGER = LoggerFactory.getLogger(TestController.class);

    @Autowired
    private TestService testService;

	@Autowired
	private HttpServletRequest httpServletRequest;

    @RequestMapping("/a")
    public void a(HttpServletRequest request) {
        System.out.println(123);
        System.out.println(testService.find5());
    }
}
